package com.zahb.qadx.model;

import android.text.TextUtils;


public class CartInfoBean {


    /**
     * oneInchPhoto : 20201230/1609298306382903.jpeg
     * classId : 135
     * post : null
     * rootOrgName : 企安大学
     * className : du4
     * startTime : 2021-01-11
     * endTime : 2021-01-31
     * userName : 胡江宁
     * userId : 50492
     */
    private String oneInchPhoto;
    private int classId;
    private String post;
    private String rootOrgName;
    private String className;
    private String startTime;
    private String endTime;
    private String userName;
    private int userId;

    public void setOneInchPhoto(String oneInchPhoto) {
        this.oneInchPhoto = oneInchPhoto;
    }

    public void setClassId(int classId) {
        this.classId = classId;
    }

    public void setPost(String post) {
        this.post = post;
    }

    public void setRootOrgName(String rootOrgName) {
        this.rootOrgName = rootOrgName;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getOneInchPhoto() {
        return oneInchPhoto;
    }

    public int getClassId() {
        return classId;
    }

    public String getPost() {
        if(TextUtils.isEmpty(post)){
            return "--";
        }
        return post;
    }

    public String getRootOrgName() {
        return rootOrgName;
    }

    public String getClassName() {
        return className;
    }

    public String getStartTime() {
        return startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public String getUserName() {
        return userName;
    }

    public int getUserId() {
        return userId;
    }
}
